<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<meta name="viewport"
		content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<title></title>
	<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">

</head>

<body>
	<div id="app">
		<el-input v-model="inputValue" placeholder="请输入内容"></el-input>
		<el-button type="primary" @click="sumbit">查询</el-button>
	</div>

</body>
<!-- import Vue before Element -->
<script src="js/vue.min.js"></script>
<!-- import JavaScript -->
<script src="js/jquery-2.1.0.js"></script>
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<script type="text/javascript">

	var app = new Vue({
		el: '#app',
		data: {
			inputValue: '',
		},
		mounted() {

		},
		methods: {
			sumbit() {
				console.log(this.inputValue);
				this.getdata();
			},
			getdata() {
				this.time_list = [];
				$.ajax({
					type: "get",
					url: '/api/appInfo?url=http%3A%2F%2Fwww.pc6.com%2Fazyx%2F670364.html',
					// params: urldata,
					success: res => {
						console.log(res);
					}
				});
			},
		}
	})
</script>

</html>